import styled from 'styled-components';
import word from '@/assets/jhdata/word.svg';
import word1 from '@/assets/jhdata/word1.svg';
import word2 from '@/assets/jhdata/word3.svg';
import word5 from '@/assets/jhdata/word5.svg';

import word3 from '@/assets/jhdata/word3.svg';
export const EdrmsHotWordStyled = styled.div`
  width: 100%;
  height: 20vh;
  margin: 0 auto;
  .key-wrod-box {
    width: 100%;
    height: 100%;
    position: relative;
    .key-wrod-hot {
      position: absolute;
      top: 45%;
      z-index: 900;
      left: 30%;
      color: #fff;
      text-align: center;
      font-size: 30px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      width: 200px;
      background-image: url(${word});
      background-size: 100% 100%;
      background-repeat: no-repeat;
      height: 55px;
      padding: 5px;
      border-radius: 8px;
      @media screen and (width: 2560px) {
        font-size: 36px;
        // line-height: 36px;
        padding: 16px;
      }
    }

    .key-wrod-hot-1 {
      position: absolute;
      top: 23%;
      z-index: 900;
      left: 50%;
      background-image: url(${word3});
      background-size: 100% 100%;
      color: #fff;
      width: 145px;
      height: 40px;
      text-align: center;
      font-size: 19px;
    }
    .key-wrod-hot-2 {
      position: absolute;
      top: 75%;
      z-index: 900;
      left: 0%;
      background-image: url(${word5});
      background-size: 100% 100%;
      color: #fff;
      width: 120px;
      height: 38px;
      text-align: center;
      font-size: 19px;
    }
    .key-wrod-hot-3 {
      position: absolute;
      top: 5%;
      z-index: 900;
      left: 40%;
      background-image: url(${word5});
      background-size: 100% 100%;
      color: #fff;
      width: 114px;
      height: 30px;
      text-align: center;
      line-height: 20px;
      font-size: 18px;
    }
    .key-wrod-hot-4 {
      position: absolute;
      top: 25%;
      z-index: 900;
      left: 15%;
      background-image: url(${word5});
      background-size: 100% 100%;
      color: #fff;
      width: 114px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      font-size: 18px;
    }
    .key-wrod-hot-5 {
      position: absolute;
      top: 0%;
      z-index: 900;
      left: 10%;
      background-image: url(${word});
      background-size: 100% 100%;
      color: #fff;
      color: #fff;
      width: 75px;
      height: 46px;
      text-align: center;
      line-height: 40px;
      font-size: 16px;
    }
    .key-wrod-hot-6 {
      position: absolute;
      top: 45%;
      z-index: 900;
      left: 10%;
      background-image: url(${word});
      background-size: 100% 100%;
      color: #fff;
      width: 75px;
      height: 46px;
      text-align: center;
      line-height: 40px;
      font-size: 16px;
    }
    .key-wrod-hot-7 {
      position: absolute;
      top: 0%;
      z-index: 900;
      left: 80%;
      background-image: url(${word1});
      background-size: 100% 100%;
      color: #fff;
      width: 75px;
      height: 46px;
      text-align: center;
      line-height: 40px;
      font-size: 15px;
    }
    .key-wrod-hot-8 {
      position: absolute;
      top:45%;
      z-index: 900;
      left: 75%;
      background-image: url(${word1});
      background-size: 100% 100%;
      color: #fff;
      width: 75px;
      height: 46px;
      text-align: center;
      line-height: 40px;
      font-size: 15px;
    }
    .key-wrod-hot-9 {
      position: absolute;
      top: 75%;
      z-index: 900;
      left: 60%;
      background-image: url(${word1});
      background-size: 100% 100%;
      color: #fff;
      width: 75px;
      height: 46px;
      text-align: center;
      line-height: 40px;
      font-size: 15px;
    }
  }
`;
